<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<th:block th:include="include :: header('详情')" />
<link href="../static/css/workboard.css" th:href="@{/css/workboard.css}" rel="stylesheet"/>
<link rel="stylesheet "
	href="../static/css/projectAll/projectAllDetail.css "
	th:href="@{/css/projectAll/projectAllDetail.css}" />
<link rel="stylesheet " href="../static/css/projectAll/projectIndex.css"
	th:href="@{/css/projectAll/projectIndex.css}" />
	 
<style>
       .anchorBL {
           display: none;
       }

       .BMap_cpyCtrl {
           display: none;
       }
       a{
       color: #337ab7;
       }
   </style>
</head>

<body>
	<div class="container-div">
		<div class="tabsnav search-collapse">
			<ul class="nav_tabs">
				<li class="tab-item active" shiro:hasPermission="project:projectAll:basic">基本信息</li>
				<li class="tab-item" data-id="1" shiro:hasPermission="project:projectAll:map">位置地图</li>
				<li class="tab-item" shiro:hasPermission="project:projectAll:unit">单位工程</li>
				<li class="tab-item" shiro:hasPermission="surResult:surResult:list">勘察成果审查</li>
				<li class="tab-item" shiro:hasPermission="supervise:constructionDrawingRecord:list">施工图审查</li>
				<li class="tab-item" shiro:hasPermission="conpermit:conpermit:list">施工许可</li>
				<li class="tab-item" shiro:hasPermission="completion:completion:list">竣工备案信息</li>
			</ul>
		</div>
		<input type="hidden" name="isszfj" th:value="${isszfj}">
		<input type="hidden" name="proGuid" th:value="${proGuid}">
		<div class="tabsbody ">
		    <!-- 基本信息开始 -->
			<div class="tabsbody-item" shiro:hasPermission="project:projectAll:basic">
				<form action="">
					<table border="0" cellpadding="0" cellspacing="0" style="width: 80%;margin:0 auto">
						<tbody>
							<tr>
								<td>
									<div class="page-title">
										<span>项目基本信息</span>
									</div>
								</td>
							</tr>
							<tr>
                                <td>
                                    <table cellpadding="0" cellspacing="0" class="tbEidt" style="table-layout: fixed; width: 100%;word-break:break-all;background-color:
                                         #ffffff;">
                                        <tbody>
                                            <tr>
                                                <td class="tdTitle" style="width: 18%; height: 32px">项目编码</td>
                                                <td class="tdContent" colspan="3" style="width: 82%;" th:text="${pabi}==null or ${pabi.projectCode}==null ? ' ':${pabi.projectCode}"></td>
                                            </tr>                                   
                                            <tr>
                                                <td class="tdTitle" style="height: 32px; width: 18%;">项目编号</td>
                                                <td class="tdContent" style="width: 32%; text-align: left;" th:text="${pabi}==null or ${pabi.serialNumber}==null ? ' ':${pabi.serialNumber}"></td>
                                                <td class="tdTitle" style="width: 18%;">项目名称</td>
                                                <td class="tdContent" style="width: 32%" th:text="${pabi}==null or ${pabi.projectName}==null ? ' ':${pabi.projectName}"></td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle" style="height: 32px;">项目所在市(县)</td>
                                                <td class="tdContent" style="text-align: left;" th:text="${pabi}==null or ${pabi.projectCityNum}==null ? ' ':${pabi.projectCityNum}"></td>
                                                <td class="tdTitle">所在区</td>
                                                <td class="tdContent" th:text="${pabi}==null or ${pabi.projectAreaNum}==null ? ' ':${pabi.projectAreaNum}"></td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle" style="height: 32px;">是否政府投资项目</td>
                                                <td class="tdContent" th:text="${pabi}==null or ${pabi.isGovernmentInvestment}==null ? '否':(${pabi.isGovernmentInvestment}=='1' ? '是':'否')"></td>
                                                <td class="tdTitle">项目类型</td>
                                                <td class="tdContent" th:text="${pabi}==null or ${pabi.projectType}==null ? ' ':${pabi.projectType}"></td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle">项目地址</td>
                                                <td class="tdContent" colspan="3" th:text="${pabi}==null or ${pabi.projectAddress}==null ? ' ':${pabi.projectAddress}"></td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle" style="height: 32px;">项目造价(万元)</td>
                                                <td class="tdContent tofixed" th:text="${pabi}==null or ${pabi.projectCost}==null or ${pabi.projectCost}=='' ? '0':${pabi.projectCost}"></td>
                                                <td class="tdTitle">建筑总面积(㎡)</td>
                                                <td class="tdContent tofixed" th:text="${pabi}==null or ${pabi.totalArea}==null or ${pabi.totalArea}=='' ? '0':${pabi.totalArea}"></td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle" style="height: 50px;">地上建筑面积(㎡)</td>
                                                <td class="tdContent tofixed" th:text="${pabi}==null or ${pabi.upArea}==null or ${pabi.upArea}=='' ? '0':${pabi.upArea}"></td>
                                                <td class="tdTitle">地下建筑面积(㎡)</td>
                                                <td class="tdContent tofixed" th:text="${pabi}==null or ${pabi.downArea}==null or ${pabi.downArea}=='' ? '0':${pabi.downArea}"></td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle" style="height: 32px">建设工程规划许可证号</td>
                                                <td class="tdContent" style="text-align: left;" th:text="${pabi}==null or ${pabi.licenseNum}==null ? ' ':${pabi.licenseNum}"></td>
                                                <td class="tdTitle">发改部门立项批准文号</td>
                                                <td class="tdContent" th:text="${pabi}==null or ${pabi.approvalNum}==null ? ' ':${pabi.approvalNum}"></td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle" style="width: 18%;">建设性质</td>
                                                <td class="tdContent" th:text="${pabi}==null or ${pabi.constructionNature}==null ? ' ':${pabi.constructionNature}"></td>
                                                <td class="tdTitle" style="width: 18%;">工程用途</td>
                                                <td class="tdContent" th:text="${pabi}==null or ${pabi.engineeringPurpose}==null ? ' ':${pabi.engineeringPurpose}"></td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle" style="height: 32px;">工程投资性质</td>
                                                <td class="tdContent" th:text="${pabi}==null or ${pabi.projectInvestmentNature}==null ? ' ':${pabi.projectInvestmentNature}"></td>
                                                <td class="tdTitle">是否重点项目</td>
                                                <td class="tdContent" th:text="${pabi}==null or ${pabi.isKeyProject}==null ? '否':(${pabi.isKeyProject}=='1' ? '是':'否')"></td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle" style="height: 32px;">项目状态</td>
                                                <td class="tdContent" th:text="${pabi}==null or ${pabi.projectState}==null ? ' ':${pabi.projectState}"></td>
                                                <td class="tdTitle">安全文明施工措施费(万元)</td>
                                                <td class="tdContent tofixed" th:text="${pabi}==null or ${pabi.securityCost}==null or ${pabi.securityCost}=='' ? '0':${pabi.securityCost}"></td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle" style="height: 32px;">建设工程规划许可证扫描件</td>
                                                <td class="tdContent" colspan="3">
                                                    <a title="点击下载" style="color:Blue;" rel="noopener noreferrer" th:href="${pabi.licenseNumImage}"  th:if="${pabi != null && pabi.licenseNumImage != null && pabi.licenseNumImage != ''}" target="_blank">下载</a>
                                                    <a style="color:Gray;" th:if="${pabi == null || pabi.licenseNumImage == null || pabi.licenseNumImage == ''}">未上传附件</a>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle" align="center" style="height: 32px">发改部门立项批准文件扫描件</td>
                                                <td class="tdContent" colspan="3" align="left">
                                                    <a title="点击下载" style="color:Blue;" rel="noopener noreferrer" th:href="${pabi.approvalNumImage}"  th:if="${pabi != null && pabi.approvalNumImage != null && pabi.approvalNumImage != ''}" target="_blank">下载</a>
                                                    <a style="color:Gray;" th:if="${pabi == null || pabi.approvalNumImage == null || pabi.approvalNumImage == ''}">未上传附件</a>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle" align="center" style="height: 32px">建设单位</td>
                                                <td class="tdContent" colspan="3">
                                                	<p id="hasPermission" style="display:none">
                                                		<a th:if="${pabi == null || pabi.constructUnitGuid == '' || pabi.constructUnitGuid == null || pabi.constructUnitName == '' || pabi.constructUnitName == null}"></a>
                                                		<a th:if="${pabi != null && pabi.constructUnitGuid != '' && pabi.constructUnitGuid != null && pabi.constructUnitName != '' && pabi.constructUnitName != null}" href="#" th:text="${pabi}==null or ${pabi.constructUnitName}==null ? ' ':${pabi.constructUnitName}" th:onclick="detailQiYeTab([[${pabi.constructUnitName}]],[[${pabi.constructUnitGuid}]])" style="color:Blue;"></a>
                                                	</p>
                                                	<p id="hasNoPermission" style="display:none">
                                                		<span th:if="${pabi != null && pabi.constructUnitGuid != '' && pabi.constructUnitGuid != null && pabi.constructUnitName != '' && pabi.constructUnitName != null}"  th:text="${pabi}==null or ${pabi.constructUnitName}==null ? ' ':${pabi.constructUnitName}"></span>
                                                	</p>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle" align="center" style="height: 32px">监督站</td>
                                                <td class="tdContent" colspan="3" align="left">
                                                    <a th:if="${pabi == null || pabi.jDZGuid == '' || pabi.jDZGuid == null || pabi.jDStation == '' || pabi.jDStation == null}"></a>
                                                	<a th:if="${pabi != null && pabi.jDZGuid != '' && pabi.jDZGuid != null && pabi.jDStation != '' && pabi.jDStation != null}" href="#" th:text="${pabi}==null or ${pabi.jDStation}==null ? ' ':${pabi.jDStation}" th:onclick="detailUnitTab([[${pabi.jDStation}]],[[${pabi.jDZGuid}]])" style="color:Blue;"></a>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle" align="center" style="height: 32px">项目简述</td>
                                                <td class="tdContent" colspan="3" align="left" th:text="${pabi}==null or ${pabi.description}==null ? ' ':${pabi.description}"></td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle" style="height: 32px;">经度</td>
                                                <td class="tdContent" th:text="${pabi}==null or ${pabi.lonitude}==null or ${pabi.lonitude}=='' or ${pabi.lonitude}==' ' ? '0':${pabi.lonitude}"></td>
                                                <td class="tdTitle">纬度</td>
                                                <td class="tdContent" th:text="${pabi}==null or ${pabi.latitude}==null or ${pabi.latitude}=='' or ${pabi.latitude}==' ' ? '0':${pabi.latitude}"></td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle" align="center" style="height: 32px">市政建设规模</td>
                                                <td class="tdContent" colspan="3" align="left" th:text="${pabi}==null or ${pabi.cityBuildingSize}==null ? ' ':${pabi.cityBuildingSize}">
                                                </td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </td>
                            </tr>
						</tbody>
					</table>
				</form>
			</div>
			<!-- 基本信息结束 -->
			<!-- 位置地图开始 -->
			<div class="tabsbody-item" shiro:hasPermission="project:projectAll:map">
				<div class="ibox" style="min-height: 309px;">                               
                    <div class="ibox-content">
                        <div class="row">
                            <div class="col-md-12" style="height: 100%;">
                                <div id="b-map" class="map-view" style="height:500px"></div>
                            </div>
                        </div>
                    </div>
                </div>
			</div>
			<!-- 位置地图结束 -->
			<!-- 单位工程开始 -->
			<div class="tabsbody-item" shiro:hasPermission="project:projectAll:unit">
				<div class="col-sm-12 select-table table-striped">
					<table id="unit-engineering"></table>
				</div>
			</div>
			<!-- 单位工程结束 -->
			<!-- 勘察成果审查开始 -->
			<div class="tabsbody-item" shiro:hasPermission="surResult:surResult:list">
				<div class="col-sm-12 select-table table-striped">
					<table id="survey-results"></table>
				</div>
			</div>
			<!-- 勘察成果审查结束 -->
			<!-- 施工图审查开始 -->
			<div class="tabsbody-item" shiro:hasPermission="supervise:constructionDrawingRecord:list">
				<div class="col-sm-12 select-table table-striped">
					<table id="construction-drawing-review"></table>
				</div>
			</div>
			<!-- 施工图审查结束 -->
			<!-- 施工许可开始 -->
			<div class="tabsbody-item" shiro:hasPermission="conpermit:conpermit:list">
				<div class="col-sm-12 select-table table-striped">
					<table id="consturctionCertInfo"></table>
				</div>
			</div>
			<!-- 施工许可结束 -->
			<!-- 竣工备案信息开始 -->
			<div class="tabsbody-item" shiro:hasPermission="completion:completion:list">
				<div class="col-sm-12 select-table table-striped">
					<table id="completionRecordInfo"></table>
				</div>
			</div>
			<!-- 竣工备案信息结束 -->
		</div>
	</div>

	<th:block th:include="include :: footer" />
	<script th:src="@{/js/plugins/datetime/moment.js}"></script>
	<script  type="text/javascript " src="http://api.map.baidu.com/api?v=3.0&ak=GwR0pmB89u6PBqMjzAPSSzIibKSnChWF "></script>
    <script type="text/javascript " src="http://api.map.baidu.com/library/TextIconOverlay/1.2/src/TextIconOverlay_min.js "></script>
    <script type="text/javascript " src="http://api.map.baidu.com/library/MarkerClusterer/1.2/src/MarkerClusterer_min.js "></script>
    <script shiro:hasPermission="project:projectAll:map" src="../static/js/allproject/allprojectdetailMap.js" th:src="@{/js/allproject/allprojectdetailMap.js}"></script>
	<script th:inline="javascript">
	
	var prefix = ctx + "project/projectAll";
    var urlPrefix = ctx + "projectArchives/projectArchives";
    var surResultPrefix = ctx + "surResult/surResult";
    var conDrawPrefix = ctx + "condrawing/condrawing";
    var conpermitPrefix = ctx + "conpermit/conpermit";
    var completionPrefix = ctx + "completion/completion";
    var conpermitRecordPrefix = ctx + "conpermit/reviewrecord";
    var compCertificatePrefix = ctx + "completion/reviewRecord";
    var enterPriseprefix = ctx + "enterprise/enterprise";
    
	//勘察成果审查权限
	var kcApplyFlag = [[${@permission.hasPermi('surResult:surResult:apply')}]];
	var kcLogFlag = [[${@permission.hasPermi('surResult:surResult:log')}]];
	var kcCertFlag = [[${@permission.hasPermi('surResult:surResult:cert')}]];
	//施工图审查权限
	var tsApplyFlag = [[${@permission.hasPermi('supervise:constructionDrawingRecord:apply')}]];
    var tsDrawFlag = [[${@permission.hasPermi('supervise:constructionDrawingRecord:draw')}]];
    var tsLogFlag = [[${@permission.hasPermi('supervise:constructionDrawingRecord:log')}]];
    var tsCertFlag = [[${@permission.hasPermi('supervise:constructionDrawingRecord:cert')}]];
    //施工许可权限
    var sgxkChangeFlag = [[${@permission.hasPermi('conpermit:reviewrecord:change')}]];
    var sgxkLogFlag = [[${@permission.hasPermi('conpermit:reviewrecord:log')}]];
    var sgxkCertFlag = [[${@permission.hasPermi('conpermit:reviewrecord:cert')}]];
    var sgxkApplyFlag = [[${@permission.hasPermi('conpermit:conpermit:apply')}]];
    //竣工备案信息权限
    var jgApplyFlag = [[${@permission.hasPermi('completion:completion:apply')}]];
    var jgCertFlag = [[${@permission.hasPermi('completion:reviewRecord:cert')}]];
	
    //企业详情权限
    var enterprisePermission = [[${@permission.hasAnyPermi('enterprise:enterpriseAll:basicinfo, enterprise:enterpriseAll:qua, enterprise:enterpriseAll:cxpj, enterprise:enterpriseAll:yjlist, person:personall:list, integrityInformation:enterprisesGoodBehavior:list, integrityInformation:enterprisesBadBehavior:list')}]];
    if(enterprisePermission == 'hidden'){
    	$('#hasPermission').hide();
    	$('#hasNoPermission').show();
    }else{
    	$('#hasPermission').show();
    	$('#hasNoPermission').hide();
    }
    
    
    function detailQiYeTab(content,id){
    	url = "/enterprise/enterprise/bulidUnitDetail/"+id;
    	$.modal.openTab(content+"详情", url);
    }
    
    function detailUnitTab(content,id){
    	url = "/enterprise/enterprise/unitDetail/"+id;
    	$.modal.openTab(content+"详情", url);
    }
    // 下载函数
	function showImage(url)
	{
	    var showPage = url;
	      window.open(showPage,"","");
	};
        $(document).ready(function () {
        	/* 保留两位小数  */
        	 $('.tofixed').each(function(){
        		if($(this).text().toString().split(".")[1].length > 2){
        			$(this).text(Number($(this).text()).toFixed(2));
        		}
        	});
        	
        	var strsz = true;
        	var strfj = true;
        	var js = document.getElementsByName("isszfj")[0];
			if(js.value == "false"){
				strfj = true;
				strsz = false;
			}else{
				strfj = false;
				strsz = true;
			}
			var proGuid = [[${proGuid}]];
			var isszfj = [[${isszfj}]];
			//第一个子元素高亮显示
			var lis = $('.tabsnav').find("li").get(0);
			$(".tabsbody .tabsbody-item").eq(0).show().siblings().hide();
			if(!$(lis).hasClass("active")){
				$(lis).addClass("active");
				var li_text = $(lis).text();
				switch(li_text){
	        		case '施工许可': consturctionCertInfo();
	        		break;
	        		case '竣工备案信息': completionRecordInfo();
	        		break;
	        		case '材料检测': materialTesting();
	        		break;
	        		case '监督信息': supervisoryInformation();
	        		break;
	        		case '单位工程': unitEngineering();
	        		break;
	        		case '勘察成果审查': surveyResults();
	        		break;
	        		case '施工图审查': constructionDrawingReview();
	        		break;
	        		case '位置地图': initMainMap();
	        		break;
	        	}
			}
			//遍历判断当前高亮
        	$('.nav_tabs li').each(function(index){
        		if($(this).hasClass("active")){
        			var index = $(this).index();
        			$(".tabsbody .tabsbody-item").eq(index).show().siblings().hide();
        		}
        	})
        	//点击高亮
            $('.nav_tabs li').click(function () {
                $(this).addClass('active').siblings().removeClass('active');
                var index = $(this).index();
                var textname = $(this).text();
               if($(this).text() == '返回'){
            	   window.history.back(-1);
               };
                $(".tabsbody .tabsbody-item").eq(index).show().siblings().hide();
            	switch(textname){
            	case '施工许可': consturctionCertInfo();
            	break;
            	case '竣工备案信息': completionRecordInfo();
            	break;
            	case '材料检测': materialTesting();
            	break;
            	case '监督信息': supervisoryInformation();
            	break;
            	case '单位工程': unitEngineering();
            	break;
            	case '勘察成果审查': surveyResults();
            	break;
            	case '施工图审查': constructionDrawingReview();
            	break;
            	}
            	if($(this).attr('data-id')==1){			
					initMainMap();
				}
            });
        	
        	function materialTesting(){
            	var options = {
     			showSearch:false,
               	showRefresh:false,
               	showToggle:false,
               	showColumns:false,
               	id:'materialTesting',		
               	url: prefix + "/materialTesting",
               	detailUrl: prefix + "/materialTestingDetail/{id}",
               	modalName: "材料检测",
                columns: [
                {
                    field : 'id', 
                    title : '序号'/* ,
                    formatter: function (value, row, index) {
                        
                        return index + 1;
                    } */
                },
                {
                    field : 'materialOrganization', 
                    title : '检测机构名称'
                },
                {
                    field : 'projectName', 
                    title : '工程名称'
                },
                {
                    field : 'projectPosition', 
                    title : '工程部位 '
                },
                {
                    field : 'testingItems', 
                    title : '检测项目'
                },
                {
                    field : 'curveTime', 
                    title : '曲线时间'
                },
                {
                    field : 'entrustTime', 
                    title : '委托日期'
                },
                {
                    field : 'testingTime', 
                    title : '检测日期'
                },
                {
                    field : 'presentationTime', 
                    title : '报告日期'
                },
                {
                    field : 'sampleId', 
                    title : '样品编号'
                },
                {
                    field : 'presentationId', 
                    title : '报告编号'
                },
                {
                    field : 'testingResult', 
                    title : '检测结论'
                },
                {
                    field: 'opera',
                    title: '查看',
                    formatter: function (value, row, index) {
                         var actions = [];
                         actions.push('<a class="btn btn-warning btn-xs" href="javascript:void(0)" onclick="$.operate.detail(\'' + row.id + '\')"><i class="fa fa-plus"></i>查看</a> ');
                         return actions.join('');
	                }
	            }
                ]
            }
            	$.table.init(options);
            }
            
            function unitEngineering(){
            	var options = {
     			showSearch:false,
               	showRefresh:false,
               	showToggle:false,
               	showColumns:false,
               	id:'unit-engineering',		
               	url: urlPrefix + "/unitEngineeringInfoTableList/"+proGuid+"/"+isszfj,
               	detailUrl: urlPrefix + "/unitEngineeringDetail/{id}/"+isszfj,
               	modalName: "单位工程",
                columns: [
                {
                    field : 'id', 
                    title : '序号',
                    formatter: function (value, row, index) {

                        return index + 1;
                    }
                },
                {
                    field : 'guid', 
                    title : '单位工程标识符',
					visible: false
                },
                {
                    field : 'engineeringName', 
                    title : '单位工程名称',
                    formatter: function (value, row, index) {
	                    var actions = [];
	                    /* actions.push('<a href="'+prefix+'/unit/detail?name='+value+'">'+value+'</a>'); */
	                    actions.push('<a href="javascript:void(0)" onclick="$.operate.detailQYTabRewrite(\'' + row.guid + '\',\''+ value +'\')">'+value+'</a> ');
	                    return actions.join('');
	                }
                },
                {
                    field : 'uestate', 
                    title : '工程状态',
					visible: false
                },
                {
                    field : 'unitEngineeringState', 
                    title : '工程状态'
                },
                {
                    field : 'engineeringCost', 
                    title : '单位工程造价'
                },
                {
                    field : 'totalArea', 
                    title : '单位工程总面积',
					visible: strfj
                },
                {
                    field : 'upArea', 
                    title : '单位工程地上面积',
					visible: strfj
                },
                {
                    field : 'downArea', 
                    title : '单位工程地下面积',
					visible: strfj
                },
                {
                    field : 'sumLayer', 
                    title : '单位工程总层数',
					visible: strfj
                },
                {
                    field : 'upLayer', 
                    title : '单位工程地上层数',
					visible: strfj
                },
                {
                    field : 'downLayer', 
                    title : '单位工程地下层数',
					visible: strfj
                },
                {
                    field : 'cityBuildingSize', 
                    title : '单位工程规模描述',
					visible: strsz
                }
                ]
            }
            	$.table.init(options);
            }
            
            
            
            function surveyResults(){
          		var options = {
   				showSearch:false,
   	          	showRefresh:false,
   	          	showToggle:false,
   	          	showColumns:false,
   	         	id:'survey-results',
    			url: urlPrefix + "/surveyResultsTableIfoList/"+proGuid,
                updateUrl: surResultPrefix + "/edit/{id}",
                exportUrl: surResultPrefix + "/export",
                detailUrl: surResultPrefix + "/detail/{id}",
                detailOneUrl: surResultPrefix + "/certificateTable/{id}",
                detailFiveUrl: surResultPrefix + "/surResultJournal/{id}",
                detailTwoUrl: enterPriseprefix + "/detail/{id}",
                detailThreeUrl: enterPriseprefix + "/bulidUnitDetail/{id}",
                modalName: "勘察成果审查",
                columns: [{
                        field: 'id',
                        title: '序号',
						formatter: function (value, row, index) {
						
						    return index + 1;
						}
                    },
                    {
                        field: 'guid',
                        title: '勘察成果id',
						visible: false
	                }, 
					{
                        field: 'taskName',
                        title: '勘察成果审查工程名'
                    },
					{
                        field: 'projectGuid',
                        title: '项目标识符',
						visible: false
	                },
					{
                        field: 'projectName',
                        title: '所属项目'
	                },
                    {
                        field: 'buildGuid',
                        title: '建设单位标示符',
						visible: false
                    },
                    {
                        field: 'buildName',
                        title: '建设单位',
                        formatter: function (value, row, index) {
                            var actions = [];
							if(row.buildGuid != null && row.buildGuid != ''){
								actions.push('<a href="javascript:void(0)" onclick="$.operate.detailTabRewriteThree(\'' + row.buildName + '\',\''+ row.buildGuid +'\')">'+value+'</a> ');
							}
                            return actions.join('');
	                    }
                    },
					{	
                        field: 'prospectUnitGuid',
                        title: '勘察单位标识符',
						visible: false
                    },
                    {
                        field: 'prospectUnitName',
                        title: '勘察单位名称',
                        formatter: function (value, row, index) {
                            var actions = [];
							if(row.prospectUnitGuid != null && row.prospectUnitGuid != ''){
								actions.push('<a href="javascript:void(0)" onclick="$.operate.detailTabRewriteTwo(\'' + row.prospectUnitName + '\',\''+ row.prospectUnitGuid +'\')">'+value+'</a> ');
							}
                            return actions.join('');
	                    }
                    },
					{
                        field: 'reviewUnitGuid',
                        title: '审查机构标识符',
						visible: false
                    },
                    {
                        field: 'reviewUnitName',
                        title: '审查机构名称',
                        formatter: function (value, row, index) {
                            var actions = [];
							if(row.reviewUnitGuid != null && row.reviewUnitGuid != ''){
								actions.push('<a href="javascript:void(0)" onclick="$.operate.detailTabRewriteTwo(\'' + row.reviewUnitName + '\',\''+ row.reviewUnitGuid +'\')">'+value+'</a> ');
							}
                            return actions.join('');
	                    }
                    },
                    {
                        field: 'role',
                        title: '当前状态'
                    },
                    {
                        field: 'acceptedYear',
                        title: '审查日期',
						formatter: function (value, row, index) {
							if(value == '' || value == null){
								return value;
							}else{
								return moment(value).format('YYYY-MM-DD');	
							}
						}
	                },
                    {
	                    field: 'opera',
	                    title: '功能区',
                        formatter: function (value, row, index) {
                            var actions = [];
                            actions.push('<a class="btn btn-success btn-xs ' + kcApplyFlag + '" href="javascript:void(0)" onclick="$.operate.detailQYTabRewrite(\'' + row.guid + '\',\''+ row.taskName +'勘察成果申请表\')"><i class="fa fa-edit"></i>申请表</a> ');
							actions.push('<a class="btn btn-success btn-xs ' + kcLogFlag + '" href="javascript:void(0)" onclick="$.operate.detailTabRewriteFive(\'' + "日志" + '\',\'' + row.guid + '\')"><i class="fa fa-edit"></i>日志</a> ');
							actions.push('<a class="btn btn-success btn-xs ' + kcCertFlag + '" href="javascript:void(0)" onclick="$.operate.detailTabRewriteOne(\'' + "勘察合格书编辑日志" + '\',\'' + row.guid + '\')"><i class="fa fa-edit"></i>合格书</a> ');
                            return actions.join('');
	                       }
	                }]
                };
            	$.table.init(options);
            }
            
            //$('#construction-drawing-review').bootstrapTable({
            function constructionDrawingReview(){
            	var options = {
        			showSearch:false,
                   	showRefresh:false,
                   	showToggle:false,
                   	showColumns:false,
                  	id:'construction-drawing-review',
        			url: urlPrefix + "/conDrawingTableIfoList/"+proGuid,
                    updateUrl: conDrawPrefix + "/edit/{id}",
                    exportUrl: conDrawPrefix + "/export",
                    detailUrl: conDrawPrefix + "/detail/{id}",
                    detailOneUrl: conDrawPrefix + "/certificateTable/{id}",
                    detailTwoUrl: conDrawPrefix + "/drawing/{id}",
                    detailThreeUrl: enterPriseprefix + "/detail/{id}",
                    detailFourUrl: enterPriseprefix + "/bulidUnitDetail/{id}",
                    detailSixUrl: conDrawPrefix + "/drawJournal/{id}",
                    modalName: "施工图审查管理",
                    columns: [{
                            field: 'id',
                            title: '序号',
    						formatter: function (value, row, index) {
    						
    						    return index + 1;
    						}
                        },
                        {
                            field: 'guid',
                            title: '施工图审标识符',
    						visible: false
    	                },
                        {
                            field: 'taskName',
                            title: '施工图审查工程名称'
    	                }, 
    					{
                            field: 'projectGuid',
                            title: '项目标识符',
    						visible: false
                        },
                        {
                            field: 'projectName',
                            title: '所属项目'
                        },
                        {
   	                        field: 'relatedBuildUnitsList',
   	                        title: '相关建设单位(新数据)',
   							visible: false
   	                    },
                        {
                            field: 'buildGuid',
                            title: '建设单位标示符',
    						visible: false
                        },
                        {
   	                        field: 'buildName',
   	                        title: '建设单位',
   							formatter: function (value, row, index) {
   								var actions = [];
   								var isExistence = 0;//是否存在，0否1是
   								if(row.relatedBuildUnitsList != null && row.relatedBuildUnitsList.length!=0){
   									for(i=0; i<row.relatedBuildUnitsList.length; i++){
   										if(row.relatedDesignUnitsList[i].guid == row.designUnitGuid){
   											isExistence = 1;
   										}
   										if(!$.common.isEmpty(row.relatedBuildUnitsList[i].guid)){
   											actions.push('<a href="javascript:void(0)" onclick="$.operate.detailTabRewriteFour(\'' + row.relatedBuildUnitsList[i].name + '\',\''+ row.relatedBuildUnitsList[i].guid +'\')">'+row.relatedBuildUnitsList[i].name+'</a> </br> ');
   										}else if($.common.isEmpty(row.relatedBuildUnitsList[i].guid)){
   											actions.push('<a href="javascript:void(0)">'+row.relatedBuildUnitsList[i].name+'</a> </br> ');
   										}
   									}
   								}
   								if(!$.common.isEmpty(value) && isExistence == 0){
   									if(!$.common.isEmpty(row.buildGuid)){
   										actions.push('<a href="javascript:void(0)" onclick="$.operate.detailTabRewriteFour(\'' + value + '\',\''+ row.buildGuid +'\')">'+value+'</a> ');
   									}else if($.common.isEmpty(row.buildGuid)){
   										actions.push('<a href="javascript:void(0)">'+value+'</a> ');
   									}
   								}
   								return actions.join('');
   							}
   	                    },
						{
   	                        field: 'relatedDesignUnitsList',
   	                        title: '相关设计单位(新数据)',
   							visible: false
   		                },	
                        {
                            field: 'designUnitGuid',
                            title: '设计单位标识符',
    						visible: false
                        },
                        {
   	                        field: 'designUnitName',
   	                        title: '设计单位',
   							formatter: function (value, row, index) {
   								var actions = [];
   								var isExistence = 0;//是否存在，0否1是
   								if(row.relatedDesignUnitsList != null && row.relatedDesignUnitsList.length!=0){
   									for(i=0; i<row.relatedDesignUnitsList.length; i++){
   										if(row.relatedDesignUnitsList[i].guid == row.designUnitGuid){
   											isExistence = 1;
   										}
   										if(!$.common.isEmpty(row.relatedDesignUnitsList[i].guid)){
   											actions.push('<a href="javascript:void(0)" onclick="$.operate.detailTabRewriteThree(\'' + row.relatedDesignUnitsList[i].name + '\',\''+ row.relatedDesignUnitsList[i].guid +'\')">'+row.relatedDesignUnitsList[i].name+'</a> </br> ');
   										}else if($.common.isEmpty(row.relatedDesignUnitsList[i].guid)){
   											actions.push('<a href="javascript:void(0)">'+row.relatedDesignUnitsList[i].name+'</a> </br> ');
   										}
   									}
   								}
   								if(!$.common.isEmpty(value) && isExistence == 0){
   									if(!$.common.isEmpty(row.designUnitGuid)){
   										actions.push('<a href="javascript:void(0)" onclick="$.operate.detailTabRewriteThree(\'' + value + '\',\''+ row.designUnitGuid +'\')">'+value+'</a> ');
   									}else if($.common.isEmpty(row.designUnitGuid)){
   										actions.push('<a href="javascript:void(0)">'+value+'</a> ');
   									}
   								}
   								return actions.join('');
   							}
   	                    },
                        {
                            field: 'reviewUnitGuid',
                            title: '审查机构标识符',
    						visible: false
    	                },
                        {
                            field: 'reviewUnitName',
                            title: '审查机构',
							formatter: function (value, row, index) {
								var actions = [];
								actions.push('<a href="javascript:void(0)" onclick="$.operate.detailTabRewriteThree(\'' + value + '\',\''+ row.reviewUnitGuid +'\')">'+value+'</a> ');
								return actions.join('');
							}
    	                },
                        {
                            field: 'role',
                            title: '当前状态'
    	                },
                        {
                            field: 'modifyCount',
                            title: '整改次数'
    	                },
                        {
                            field: 'reportDate',
                            title: '上报日期',
    						formatter: function (value, row, index) {
    							if(value == '' || value == null){
    								return value;
    							}else{
    								return moment(value).format('YYYY-MM-DD');	
    							}
    						}
                        },
    					{
    	                    field: 'opera',
    	                    title: '功能区',
                            formatter: function (value, row, index) {
                                var actions = [];
                                actions.push('<a class="btn btn-success btn-xs ' + tsApplyFlag + '" href="javascript:void(0)" onclick="$.operate.detailQYTabRewrite(\'' + row.guid + '\',\'' + row.taskName + '图审申请表\')"><i class="fa fa-edit"></i>申请表</a> ');
    							actions.push('<a class="btn btn-success btn-xs ' + tsDrawFlag + '" href="javascript:void(0)" onclick="$.operate.detailTwo(\'' + "施工图纸" + '\',\'' + row.guid + '\')"><i class="fa fa-edit"></i>图纸</a> ');
    							actions.push('<a class="btn btn-success btn-xs ' + tsLogFlag + '" href="javascript:void(0)" onclick="$.operate.detailTabRewriteSix(\'' + "日志" + '\',\'' + row.guid + '\')"><i class="fa fa-edit"></i>日志</a> ');
    							actions.push('<a class="btn btn-success btn-xs ' + tsCertFlag + '" href="javascript:void(0)" onclick="$.operate.detailTabRewriteOne(\'' + "图审合格书编辑日志" + '\',\'' + row.guid + '\')"><i class="fa fa-edit"></i>合格书</a> ');
                                return actions.join('');
    	                       }
    	                }]
                };
            	$.table.init(options);
            }
            //});
            
            $('#bidding').bootstrapTable({
                columns: [
                {
                    field : 'id', 
                    title : '序号'
                },
                {
                    field : 'name', 
                    title : '标段名称'
                },
                {
                    field : 'tenderType', 
                    title : '招标类型'
                },
                {
                    field : 'biddingOrganization', 
                    title : '招标组织形式'
                },
                {
                    field : 'biddingMethod', 
                    title : '招标方式'
                },
                {
                    field : 'constructionUnit', 
                    title : '建设单位'
                },
                {
                    field : 'biddingAgency', 
                    title : '招标代理机构'
                },
                {
                    field : 'status', 
                    title : '状态'
                }]/* ,
                data: [{
	                    id: '1',
	                    name: '海口市',
	                    tenderType: '海南陆侨集团有限公司',
	                    biddingOrganization: '200000',
	                    biddingMethod: '45555.1',
	                    constructionUnit: '海口市秀英区海榆西线北侧',
	                    biddingAgency:'',
	                    status:''
	                }] */
            });
            
            function supervisoryInformation(){
            //$('#supervisory-information').bootstrapTable({
            	var options = {
         			showSearch:false,
                   	showRefresh:false,
                   	showToggle:false,
                   	showColumns:false,
           			id:'supervisory-information',		
                   	url: prefix + "/supervisoryInformation",
                   	detailUrl: prefix + "/supervisoryInformationDetail/{id}",
                   	modalName: "监督信息",
                columns: [
                {
                    field : 'id', 
                    title : '序号',
					formatter: function (value, row, index) {
						
					    return index + 1;
					}
                },
                {
                    field : 'name', 
                    title : '工程名称',
                    formatter: function (value, row, index) {
	                    var actions = [];
	                    actions.push('<a href="javascript:void(0)" onclick="$.operate.detailFull(\'' + value + '\')">'+value+'</a> ');
	                    //actions.push('<a href="#">'+value+'</a>');
	                    return actions.join('');
	                }
                },
                {
                    field : 'unitEngineering', 
                    title : '单位工程'
                },
                {
                    field : 'supervisionUnit', 
                    title : '监督单位',
                    formatter: function (value, row, index) {
	                var actions = [];
	                actions.push('<a href="/enterprise/enterpriseAll/detail?name='+value+'">'+value+'</a>'); 
	                return actions.join('');
	          }
                },
                {
                    field : 'status', 
                    title : '状态'
                },
                {
                    field : 'applicationTime', 
                    title : '申请时间'
                }]
              }
            	$.table.init(options);
            }
            
            
            function consturctionCertInfo(){
        		var options = {
       				showSearch:false,
       	          	showRefresh:false,
       	          	showToggle:false,
       	          	showColumns:false,
       	        	id:'consturctionCertInfo',
        			url: urlPrefix + "/conpermitTableIfoList/"+proGuid,
                    updateUrl: conpermitPrefix + "/edit/{id}",
                    exportUrl: conpermitPrefix + "/export",
                    detailUrl: conpermitPrefix + "/detail/{id}",
                    detailQuaUrl: conpermitPrefix + "/detailQua/{id}",
                    detailOneUrl: conpermitRecordPrefix + "/certificateDetail/{id}",
                    detailTwoUrl: conpermitRecordPrefix + "/changeTable/{id}",
                    detailThreeUrl: enterPriseprefix + "/bulidUnitDetail/{id}",
                    detailFiveUrl: enterPriseprefix + "/detail/{id}",
                    detailSixUrl: conpermitRecordPrefix + "/conpermitJournal/{id}",
                    modalName: "施工许可",
                    columns: [{
                            field: 'id',
                            title: '序号',
    						formatter: function (value, row, index) {
    						
    						    return index + 1;
    						}
                        },
                        {
                            field: 'proGuid',
                            title: '项目标识',
    						visible: false
    	                },
                        {
                            field: 'cpGuid',
                            title: '施工许可标识符',
    						visible: false
    	                }, 
    					{
                            field: 'unitEngineeringName',
                            title: '工程名称'
                        },
                        {
                            field: 'projectName',
                            title: '所属项目'
                        },
   						{
   	                        field: 'buildName',
   	                        title: '建设单位(新数据)',
   							visible: false
   		                },
   						{
   	                        field: 'buildGuid',
   	                        title: '建设单位标识符(新数据)',
   							visible: false
   		                },
   						{
   	                        field: 'constructUnitId',
   	                        title: '建设单位标识符(老数据)',
   							visible: false
   		                },
                        {
                            field: 'constructUnit',
                            title: '建设单位',
							formatter: function (value, row, index) {
								var actions = [];
								var name = '';
								var guid = '';
								if(!$.common.isEmpty(row.buildGuid) && !$.common.isEmpty(row.constructUnitId)){
									guid = row.buildGuid;
								}else if(!$.common.isEmpty(row.buildGuid) && $.common.isEmpty(row.constructUnitId)){
									guid = row.buildGuid;
								}else if($.common.isEmpty(row.buildGuid) && !$.common.isEmpty(row.constructUnitId)){
									guid = row.constructUnitId;
								}
								if(!$.common.isEmpty(row.buildName) && !$.common.isEmpty(value)){
									name = row.buildName;
								}else if(!$.common.isEmpty(row.buildName) && $.common.isEmpty(value)){
									name = row.buildName;
								}else if($.common.isEmpty(row.buildName) && !$.common.isEmpty(value)){
									name = value;
								}
								if(!$.common.isEmpty(name) && !$.common.isEmpty(guid)){
									actions.push('<a href="javascript:void(0)" onclick="$.operate.detailTabRewriteThree(\'' + name + '\',\''+ guid +'\')">'+name+'</a> ');
									return actions.join('');
								}
							}
                        },
   						{
   	                        field: 'totalName',
   	                        title: '施工总包单位(新数据)',
   							visible: false
   	                    },
   						{
   	                        field: 'totalGuid',
   	                        title: '施工总包单位标识符(新数据)',
   							visible: false
   	                    },
   	                    {
   	                        field: 'totalCompany',
   	                        title: '施工总包单位(老数据)',
   							visible: false
   	                    },
   						{
   	                        field: 'totalCompanyGuid',
   	                        title: '施工总包单位标识符(老数据)',
   							visible: false
   	                    },
                        {
                            field: 'totalCompanyName',
                            title: '施工总包单位',
							formatter: function (value, row, index) {
								var actions = [];
								var name = '';
								var guid = '';
								if(!$.common.isEmpty(row.totalGuid) && !$.common.isEmpty(row.totalCompanyGuid)){
									guid = row.totalGuid;
								}else if(!$.common.isEmpty(row.totalGuid) && $.common.isEmpty(row.totalCompanyGuid)){
									guid = row.totalGuid;
								}else if($.common.isEmpty(row.totalGuid) && !$.common.isEmpty(row.totalCompanyGuid)){
									guid = row.totalCompanyGuid;
								}
								if(!$.common.isEmpty(row.totalName) && !$.common.isEmpty(value)){
									name = row.totalName;
								}else if(!$.common.isEmpty(row.totalName) && $.common.isEmpty(value)){
									name = row.totalName;
								}else if($.common.isEmpty(row.totalName) && !$.common.isEmpty(value)){
									name = value;
								}
								if(!$.common.isEmpty(guid) && !$.common.isEmpty(name)){
									actions.push('<a href="javascript:void(0)" onclick="$.operate.detailTabRewriteFive(\'' + name + '\',\''+ guid +'\')">'+name+'</a> ');
									return actions.join('');
								}
							}
                        },
                        {
                            field: 'compactPrice',
                            title: '合同金额'
                        },
                        {
                            field: 'developmentScope',
                            title: '建设规模'
                        },
                        {
                            field: 'state',
                            title: '状态'
    	                },
                        {
                            field: 'reportTime',
                            title: '申请时间',
    						formatter: function (value, row, index) {
    							if(value == '' || value == null){
    								return value;
    							}else{
    								return moment(value).format('YYYY-MM-DD');	
    							}
    						}
    	                },
    					{
    	                    field: 'opera',
    	                    title: '功能区',
                            formatter: function (value, row, index) {
                                var actions = [];
    							actions.push('<a class="btn btn-success btn-xs ' + sgxkLogFlag + '" href="javascript:void(0)" onclick="$.operate.detailTabRewriteSix(\'' + "日志" + '\',\'' + row.cpGuid + '\')"><i class="fa fa-edit"></i>审批日志</a> ');
								actions.push('<a class="btn btn-success btn-xs ' + sgxkChangeFlag + '" href="javascript:void(0)" onclick="$.operate.detailTabRewriteTwo(\'' + row.unitEngineeringName + '变更列表\',\'' + row.cpGuid + '\')"><i class="fa fa-edit"></i>变更</a> ');
							    actions.push('<a class="btn btn-success btn-xs ' + sgxkApplyFlag + '" href="javascript:void(0)" onclick="$.operate.detailQYTabRewrite(\'' + row.cpGuid + '\',\'' + row.unitEngineeringName + '施工许可申请表\')"><i class="fa fa-edit"></i>申请表</a> ');
							    /* actions.push('<a class="btn btn-success btn-xs" href="javascript:void(0)" onclick="$.operate.detailQYTabRewrite(\'' + row.cpGuid + '\',\'' + row.unitEngineeringName + '施工许可申请表\')"><i class="fa fa-edit"></i>在建工程管理</a> '); */
							    if(row.state == '审批通过'){
							    	actions.push('<a class="btn btn-success btn-xs ' + sgxkCertFlag + '" href="javascript:void(0)" onclick="$.operate.detailOne(\'' + "证书" + '\',\'' + row.cpGuid + '\')"><i class="fa fa-edit"></i>证书</a> ');
							    }
                                return actions.join('');
    	                       }
    	                }]
                };
            	$.table.init(options);
            }
           
            	
            //$('#completionRecordInfo').bootstrapTable({
            function completionRecordInfo(){
            	var options = {
         			showSearch:false,
                   	showRefresh:false,
                   	showToggle:false,
                   	showColumns:false,
               		id:'completionRecordInfo',
        			url: urlPrefix + "/completionTableIfoList/"+proGuid,
        			updateUrl: completionPrefix + "/edit/{id}",
                    detailUrl: completionPrefix + "/detail/{id}",
                    detailQuaUrl: compCertificatePrefix + "/certificateDetail/{id}",
                    detailOneUrl: enterPriseprefix + "/bulidUnitDetail/{id}",
                    detailTwoUrl: enterPriseprefix + "/detail/{id}",
                    modalName: "竣工备案备案管理",
                    columns: [{
                            field: 'id',
                            title: '序号',
    						formatter: function (value, row, index) {
    						
    						    return index + 1;
    						}
                        },
                        {
                            field: 'engineeringName',
                            title: '工程名称'
    	                },
                        {
                            field: 'projectInfoGuid',
                            title: '项目信息标识符',
    						visible: false
    	                }, 
    					{
                            field: 'projectName',
                            title: '所属项目'
                        },
                        {
                            field: 'constructUnitId',
                            title: '建设单位标识符',
    						visible: false
                        },
                        {
                            field: 'constructUnit',
                            title: '建设单位',
							formatter: function (value, row, index) {
								var actions = [];
								if(!$.common.isEmpty(value) && !$.common.isEmpty(row.constructUnitId)){
									actions.push('<a href="javascript:void(0)" onclick="$.operate.detailTabRewriteOne(\'' + value + '\',\''+ row.constructUnitId +'\')">'+value+'</a> ');
									return actions.join('');
								}
							}
                        },
                        {
                            field: 'constructionUnitId',
                            title: '施工总包单位标识符',
    						visible: false
                        },
                        {
                            field: 'constructionUnit',
                            title: '施工总包单位',
							formatter: function (value, row, index) {
								var actions = [];
								if(!$.common.isEmpty(value) && !$.common.isEmpty(row.constructionUnitId)){
									actions.push('<a href="javascript:void(0)" onclick="$.operate.detailTabRewriteTwo(\'' + value + '\',\''+ row.constructionUnitId +'\')">'+value+'</a> ');
									return actions.join('');
								}
							}
                        },
                        {
                            field: 'state',
                            title: '备案状态'
                        },
                        {
                            field: 'reportTime',
                            title: '申请时间',
    						formatter: function (value, row, index) {
    							if(value == '' || value == null){
    								return value;
    							}else{
    								return moment(value).format('YYYY-MM-DD');
    							}
    						}
    	                },
                        {
                            field: 'licenseNum',
                            title: '规划许可',
    						visible: false
    	                },
                        {
                            field: 'constructionNum',
                            title: '施工许可证号',
    						visible: false
    	                },
                        {
                            field: 'projectType',
                            title: '项目类型',
    						visible: false
    		            },
                        {
                            field: 'guid',
                            title: '竣工备案标识符',
    						visible: false
    	                },
                        {
                            field: 'inChargeDepartmentGuid',
                            title: '行政主管部门标识符',
    						visible: false
    		            },
                        {
                            field: 'inChargeDepartment',
                            title: '行政主管部门',
    						visible: false
    			        },
                        {
    	                    field: 'opera',
    	                    title: '功能区',
                            formatter: function (value, row, index) {
                                var actions = [];
    							actions.push('<a class="btn btn-success btn-xs ' + jgApplyFlag + '" href="javascript:void(0)" onclick="$.operate.detailQYTabRewrite(\'' + row.guid + '\',\'' + row.engineeringName + '竣工备案申请表\')"><i class="fa fa-edit"></i>申请表</a> ');
							    /* if(row.state == '审批通过'){
							    	actions.push('<a class="btn btn-success btn-xs ' + jgCertFlag + '" href="javascript:void(0)" onclick="$.operate.detailQua(\'' + "证书" + '\',\'' + row.guid + '\')"><i class="fa fa-edit"></i>证书</a> ');
							    } */
                                return actions.join('');
    	                       }
    	                }]
                };
            	$.table.init(options);
            }
        });
    </script>
</body>

</html>